<HTML>
<HEAD>
<meta charset="UTF-8">
<title>DataMessage.fromJson - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="../index.html">com.amazonaws.services.chime.sdk.meetings.realtime.datamessage</a>&nbsp;/&nbsp;<a href="index.html">DataMessage</a>&nbsp;/&nbsp;<a href="./from-json.html">fromJson</a><br/>
<br/>
<h1>fromJson</h1>
<a name="com.amazonaws.services.chime.sdk.meetings.realtime.datamessage.DataMessage$fromJson(java.lang.Class((com.amazonaws.services.chime.sdk.meetings.realtime.datamessage.DataMessage.fromJson.T)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">fromJson</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.realtime.datamessage.DataMessage$fromJson(java.lang.Class((com.amazonaws.services.chime.sdk.meetings.realtime.datamessage.DataMessage.fromJson.T)))/clazz">clazz</span><span class="symbol">:</span>&nbsp;<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">T</span></code>
<p>Helper method to convert ByteArray data to object of given type</p>
<h3>Parameters</h3>
<p><a name="clazz"></a>
<code>clazz</code> - : Object type</p>
<p><strong>Return</strong><br/>
deserialized object</p>
</BODY>
</HTML>
